package com.hospital.demo.model.jiajinpeng.poly;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
public class OutAllHospital {

    private Integer oid;

    private Integer pid;

    private String pname;

    private Integer page;

    private String psex;

    private String beds;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date odate;

    private Integer supplementary;

    private Integer refund;

    public OutAllHospital(Integer oid, Integer pid, String pname, Integer page, String psex, String beds, Date odate, Integer supplementary, Integer refund) {
        this.oid = oid;
        this.pid = pid;
        this.pname = pname;
        this.page = page;
        this.psex = psex;
        this.beds = beds;
        this.odate = odate;
        this.supplementary = supplementary;
        this.refund = refund;
    }

    public OutAllHospital() {
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getPsex() {
        return psex;
    }

    public void setPsex(String psex) {
        this.psex = psex;
    }

    public String getBeds() {
        return beds;
    }

    public void setBeds(String beds) {
        this.beds = beds;
    }

    public Date getOdate() {
        return odate;
    }

    public void setOdate(Date odate) {
        this.odate = odate;
    }

    public Integer getSupplementary() {
        return supplementary;
    }

    public void setSupplementary(Integer supplementary) {
        this.supplementary = supplementary;
    }

    public Integer getRefund() {
        return refund;
    }

    public void setRefund(Integer refund) {
        this.refund = refund;
    }
}
